package com.warehouse.dao;

import com.warehouse.dao.common.SmartDao;
import com.warehouse.entity.Cargo;
import com.warehouse.entity.Cargotype;

import java.util.List;


public interface CargotypeDao extends SmartDao<Cargotype> {
    //模糊查询分页
    List<Cargotype> byAdminNum(int startPage, int pageSize, String name);
    int countByAdminNum(String name);
    List<Cargotype> all();
}
